package com.jiawei;

import com.jiawei.server.TcpServer;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author : willian fu
 * @version : 1.0
 */
@SpringBootApplication
public class IotServer implements CommandLineRunner {
    public static void main(String[] args) {
        SpringApplication.run(IotServer.class,args);
    }

    @Override
    public void run(String... args) throws Exception {
        new TcpServer(1995).run();
    }
}
